import { ADD, UPDATE } from './constants'

export function add(todoName) {
  return { type: ADD, todoName }
}
export function update(id) {
  return { type: UPDATE, id }
}
